// 考卷信息
import { ContentTypeEnum } from '/@/enums/httpEnum';
import { request } from '/@/utils/http/axios';

// 考卷信息列表
export const getPaperList = (params) => {
  return request({
    url: '/basic/findKdksKmList',
    method: 'GET',
    params,
  });
};


// 考卷信息详情图片
export const getByKdkskmId = (params) => {
  return request({
    url: '/basic/findDtkqtByKdkskmId',
    method: 'GET',
    params,
  });
};


// 获取密封线信息
export const getByKdMfxkskmId = (params) => {
  return request({
    url: '/basic/findDtkqtByKdkskmIdMfx',
    method: 'GET',
    params,
  });
};

// 考卷信息详情图片
export const getBysuccessAutoId = (params) => {
  return request({
    url: '/fscx/findDtkqtBySuccessAutoId',
    method: 'GET',
    params,
  });
};

// 考卷信息详情图片
export const getBysuccessMfxAutoId = (params) => {
  return request({
    url: '/fscx/findDtkqtMfxBySuccessAutoId',
    method: 'GET',
    params,
  });
};


// 查看答题卡
export const showPaper = (params) => {
  return request({
    url: '/py/getDtkqtxxWhole',
    method: 'GET',
    params,
  });
};

// 查看试卷
export const showPaperDetail = (params) => {
  return request({
    url: '/basic/getLastPchDataList',
    method: 'GET',
    params,
  });
};
